package com.eastcom.bm.atom;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="QA_ABNORMALSCAN_JOB")
public class Atom_AbnormalScanJob {
	
	private String dataSetId;
	
	private Date firstTime;
	
	private Date endTime;
	
	private Integer backScanHour;
	
	private Integer repeatNum;
	
	private long interval;

	private Integer version;
	

	@Id
	@Column(name="DATASET_ID")
	public String getDataSetId() {
		return dataSetId;
	}

	public void setDataSetId(String dataSetId) {
		this.dataSetId = dataSetId;
	}

	@Column(name="BACKSCAN_HOUR")
	public Integer getBackScanHour() {
		return backScanHour;
	}

	public void setBackScanHour(Integer backScanHour) {
		this.backScanHour = backScanHour;
	}

	@Column(name="FIRST_TIME")
	public Date getFirstTime() {
		return firstTime;
	}

	public void setFirstTime(Date firstTime) {
		this.firstTime = firstTime;
	}
	
	@Column(name="END_TIME")
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	@Column(name="INTERVAL")
	public long getInterval() {
		return interval;
	}

	public void setInterval(long interval) {
		this.interval = interval;
	}

	@Column(name="REPEAT_NUM")
	public Integer getRepeatNum() {
		return repeatNum;
	}

	public void setRepeatNum(Integer repeatNum) {
		this.repeatNum = repeatNum;
	}
	
	@Column(name="VERSION")
	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}
	
}
